# 员工类
class Staff:
    def __init__(self, name, age):
        self.name = name
        self.age = age
    def eat(self):
        print(f'{self.name}必须每天吃饭')
    def run(self):
        print(f'{self.name}爱运动')
class Lecturer(Staff):
    def teacher(self):
        print('讲课速度快,且可以轻松让同学们掌握')
class HeadMsater(Staff):
    pass
l1 = Lecturer('李讲师', 20)
l1.run()
l1.eat()
l1.teacher()
h1 = Lecturer('杨班主任', 20)
h1.eat()
h1.run()